package org.zfes.snowier.cloud.zbss.cms.site.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class CmsSiteTxt extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public CmsSiteTxt() {}
	public CmsSiteTxt(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->
	@javax.validation.constraints.NotNull(message="不能为空")
	  private java.lang.Long siteId;
 
	@javax.validation.constraints.NotNull(message="名称不能为空")
	@javax.validation.constraints.NotBlank(message="名称不能为空")
	 @org.hibernate.validator.constraints.Length(min=0,max=30,message="名称长度不能大于30")
	  private java.lang.String txtName;
 
	@javax.validation.constraints.NotNull(message="状态:不能为空")
	  private java.lang.Byte status;
 
	@javax.validation.constraints.NotNull(message="更新时间不能为空")
	  private java.util.Date updateTime;
 
	@javax.validation.constraints.NotNull(message="创建时间不能为空")
	  private java.util.Date createTime;
 
	 @org.hibernate.validator.constraints.Length(min=0,max=2147483647,message="值长度不能大于2,147,483,647")
	  private java.lang.String txtValue;
 
	
	//<-------------------------------------------->
	public CmsSiteTxt setSiteId(java.lang.Long siteId){
	 this.siteId=siteId;
	 return this;
	}
	public java.lang.Long getSiteId(){
		return this.siteId;
	}
	public CmsSiteTxt setTxtName(java.lang.String txtName){
		this.txtName=txtName==null?null:txtName.trim();
	 return this;
	}
	public java.lang.String getTxtName(){
		return this.txtName;
	}
	public CmsSiteTxt setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public CmsSiteTxt setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public CmsSiteTxt setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public CmsSiteTxt setTxtValue(java.lang.String txtValue){
		this.txtValue=txtValue==null?null:txtValue.trim();
	 return this;
	}
	public java.lang.String getTxtValue(){
		return this.txtValue;
	}

}
